<?php
include('mysqlHelper.php');

$id = $_GET["id"];

$result = obtenerPersona($id);

$arr = array();

while($obj = mysql_fetch_object($result)) {
	$arr[] = $obj;
}

echo json_encode(array('persona'=>$arr));

?>
